﻿using System.ComponentModel.DataAnnotations;
using System.Text.Json.Serialization;

namespace Rswl.Common.Application.User.Dto
{
    public class UserLoginDto
    {
        [Required(ErrorMessage = "帐号不能为空")]
        [JsonPropertyName("user_name")]
        public string UserName { get; set; }
        [Required(ErrorMessage = "密码不能为空")]
        [JsonPropertyName("password")]
        public string Password { get; set; }
    }
}
